package cn.silver.module.web.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 验证码信息
 *
 * @author Silver Zhou
 */
@Data
@NoArgsConstructor
@Schema(name = "CaptchaModel", title = "验证码对象")
public class CaptchaModel implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 是否开启验证码
     */
    @Schema(title = "是否开启验证码")
    private Boolean enable;
    @Schema(title = "验证码校验id")
    private String uuid;
    /**
     * 验证码图片
     */
    @Schema(title = "验证码图片")
    private String img;
    @Schema(title = "验证码结果")
    private String code;

}
